<?php
/**
 * Created by PhpStorm
 * user: MingLiang
 * Date：2021/9/9
 * Time: 2:14 下午
 */


namespace app\admin\model;


use app\common\model\TimeModel;

class CostBudget extends TimeModel
{
    protected $deleteTime = 'delete_time';

    public function classify()
    {
        return $this->belongsTo('app\admin\model\CostClassify', 'classify_id', 'id');
    }

    public function company()
    {
        return $this->belongsTo('app\admin\model\CostCompany', 'company_id', 'id');
    }
}